//
//  CategoryModel.h
//  Findif
//
//  Created by Cicel Chen on 2018/10/25.
//  Copyright © 2018年 Cicel Chen. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CategoryModel : NSObject

//图片地址
@property(nonatomic,copy) NSString * img;
//标题
@property(nonatomic,copy) NSString * name;
@property(nonatomic,copy) NSString * ID;



//KVC
+(instancetype)modelWithDictionary:(NSDictionary *)dic;

//访问网络
+(void)getCategoryWithSucess:(void(^)(NSArray<CategoryModel *> *array))sucessBlock error:(void(^)(void))errorBlock;

@end
